package org.example.handwriting.spring.interfaces.impl;

import org.example.handwriting.spring.Annotation.Component;
import org.example.handwriting.spring.interfaces.BeanPostProcessor;

@Component
public class MyBeanPostProcessor implements BeanPostProcessor {
    @Override
    public Object beforeInitializeBean(Object bean, String beanName) {
        System.out.println(beanName + "初始化完成");
        return bean;
    }
}
